//app.js

App({
  onLaunch: function () {
	  //判断进入小程序是是否拥有openid
	  var that = this;
	  if (wx.getStorageSync('openid')){
		  that.openid = wx.getStorageSync('openid');
	  }
  },
	openid : '',
	ajax : require("utils/plugins/api.js"),
	//api: "http://192.168.8.92:8080/bb/"
	api: "http://118.31.64.230:8080/bb/"
})